package com.atldy.commerce.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @version 1.0
 * @Author: lidongyang
 * @CreateTime: 2021-08-07 19:12
 * @Description： gateway的bean的配置信息
 */
@Slf4j
@Configuration
public class GatewayConfigBean {

    @Bean
    public RestTemplate restTemplate() {
        return new RestTemplate();
    }

}